﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Che.Domain.Entity.EtityPulic
{
      public class PageResult<T>
      {
        public List<T> Data { get; set; } // 当前页的数据
        public int TotalCount { get; set; } // 总记录数
        public int PageNumber { get; set; } // 当前页码
        public int PageSize { get; set; } // 每页大小

        public PageResult(List<T> data, int totalCount, int pageNumber, int pageSize)
        {
            Data = data;
            TotalCount = totalCount;
            PageNumber = pageNumber;
            PageSize = pageSize;
        }


    }
}
